<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<%--  <p>
用户名：<span id="jname"></span><br/>
年龄：<span id="jage"></span><br/>
地址：<span id="jstreet"></span><br/>
电话号码：<span id="jphone"></span><br/>
</p>
<script>
var JSONOject={
	init:function(){
				$.post('<%=request.getContextPath()%>/AssistNewNoticeServlet?command=listTest', function(data) {
					console.log(data);
					for(var i=0;i<data.length;i++){
					document.getElementById("jname").innerHTML=data[i].name;
					}
				}, 'json');
	},	
};
$(function(){
	JSONOject.init();
});
document.getElementById("jname").innerHTML=JSONOject.name;
</script> --%>
<!-- <script type="text/javascript"> 
var json = {"options":"[{\"text\":\"王家湾\",\"value\":\"9\"},{\"text\":\"李家湾\",\"value\":\"10\"},{\"text\":\"邵家湾\",\"value\":\"13\"}]"} 
json = eval(json.options) 
for(var i=0; i<json.length; i++) 
{ 
alert(json[i].text+" " + json[i].value) 
} 
</script>  -->
<!-- <div id="mydiv" style="display:none;border: 1px red solid;width: 200px;height: 200px;float: left">1nihao</div>
<div style="border: 1px red solid;width: 200px;height: 200px;float: left">2nihao</div>
<div style="border: 1px red solid;width: 200px;height: 200px;float: left" onclick="hide()">3nihao</div>
<script>
function hide(){
	document.getElementById("mydiv").style.display="block";
};
</script> -->
<!-- <div><span id="clock"></span></div>
<script type="text/javascript">
    var clock = new Clock();
    clock.display(document.getElementById("clock"));
    function Clock() {
    var date = new Date();
    this.year = date.getFullYear();
    this.month = date.getMonth() + 1;
    this.date = date.getDate();
    this.day = new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六")[date.getDay()];
    this.hour = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
    this.minute = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
    this.second = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
     
    this.toString = function() {
        return "现在是:" + this.year + "年" + this.month + "月" + this.date + "日 " + this.hour + ":" + this.minute + ":" + this.second + " " + this.day; 
    };
         
    this.toSimpleDate = function() {
        return this.year + "-" + this.month + "-" + this.date;
    };
         
    this.toDetailDate = function() {
        return this.year + "-" + this.month + "-" + this.date + " " + this.hour + ":" + this.minute + ":" + this.second;
    };
         
    this.display = function(ele) {
        var clock = new Clock();
        ele.innerHTML = clock.toString();
        window.setTimeout(function() {clock.display(ele);}, 1000);
    };
}
</script> -->
<div id="accordionMenu"  data-options="border:false,animate:true">  
            <div title="首页" style="overflow: hidden; border: none;">  
                <ul>  
                    <li class="li_selected_bgcolor"><a href="javascript:;"  
                        rel="${ctx}/myWorkflow/indexDeatilPage">首页</a></li>  
                </ul>  
            </div>  
            <div title="用户管理" style="overflow: hidden; border: none;" >  
                <ul>  
                    <shiro:hasPermission name="100010">  
                        <li class=""><a href="javascript:;"  
                            rel="${ctx}/userManage/userList">用户管理</a></li>  
                    </shiro:hasPermission>  
                </ul>  
            </div>  
            <div title="系统管理" style="overflow: hidden; border: none">  
                <ul>  
                    <shiro:hasPermission name="900010">  
                        <li class=""><a href="javascript:;"  
                            rel="${ctx}/adminManage/adminList">后台管理员添加/管理</a></li>  
                    </shiro:hasPermission>  
                </ul>  
            </div>  
</div> 
	<script type="text/javascript">
    $(function () {
    	$("#accordionMenu").accordion();
    	$("#accordionMenu").accordion('remove','系统管理');
    });
   
	</script>
</body>
</html>